import {Base} from "../../../utils/base.js";

class Photo extends Base{
  constructor(){
    super()
  }

  /**
   * 保存表单数据
   * @param {*} data 
   * @param {*} success 
   * @param {*} fail 
   */
  setFormData(data,success,fail){
    this.request({
        url:'/set_exam_photo',
        type:"POST",
        data,
        success:(res)=>{
            success&&success(res.data)
        },
        fail:(res)=>{
            fail&&fail(res)
        }
    })
  }

  
}

export{Photo}